Command palette: unmount while closed and show a sidebar hint#1268
Merged
Conversation
Comment on lines
+225
to
+226
| <span>Commands</span> | ||
| <span className="font-mono text-[11px]">⌘K</span> |
There was a problem hiding this comment.
The
⌘K label is Mac-only. The keyboard handler in CommandPalette also matches Ctrl+K, so Windows/Linux users pressing Ctrl+K will open the palette but see a symbol that doesn't match their keyboard. A simple platform sniff (navigator.platform or UA Mac) at render time would let you show Ctrl+K on non-Mac.
Suggested change
| <span>Commands</span> | |
| <span className="font-mono text-[11px]">⌘K</span> | |
| <span>Commands</span> | |
| <span className="font-mono text-[11px]"> | |
| {typeof navigator !== "undefined" && /Mac/.test(navigator.platform) ? "⌘K" : "Ctrl+K"} | |
| </span> |
Contributor
Cloudflare previewTorn down — the PR is closed. |
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/plugin-file-secrets
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | 3ab4cab | Commit Preview URL Branch Preview URL |
Jul 02 2026, 08:35 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | 3ab4cab | Jul 02 2026, 08:36 PM |
7230dd0 to
ac34707
Compare
98343cd to
fc199ee
Compare
ac34707 to
9566a11
Compare
fc199ee to
a63f353
Compare
9566a11 to
9c567e5
Compare
a63f353 to
a7306f6
Compare
26755fb to
51ed6e9
Compare
a7306f6 to
94c3bd5
Compare
51ed6e9 to
7828740
Compare
23b37ed to
334c26e
Compare
07590a7 to
97bacb8
Compare
334c26e to
35bd531
Compare
35bd531 to
3ab4cab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The closed command palette kept its content mounted, so Command Palette / Search for a command to run... leaked into every page's text and accessibility tree as the first thing a screen reader announces. There was also no visible hint the palette exists.
The palette content now unmounts while closed, and the sidebar footer gets a Commands row with the keyboard shortcut so the feature is discoverable.
Verified in the browser (page text no longer contains the palette copy while closed; the hint opens it). Typecheck is green.
Stacked on #1267.